package com.sip.db.entity;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Entity
@Table(name = "tbl_channel")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ChannelEntity {
	@Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    Long id;
	
	@Column(name="device_id")
	String deviceId;
	
	@Column(name="channel_id")
	String channelId;
	
	@Column(name="name")
	String name;
	
	@Column(name="status")
	String status;
}
